package ModelLayer;
import java.io.Serializable;
/**
 * This Class represent a unique product with serial number
 * @author frankeskelund
 *
 */

public class Copy implements Serializable
{
	private static final long serialVersionUID = -5723733910630447293L;
	
	private String serialNumber;
	private Product product;
	
	public Copy(String serialNumber, Product p)
	{
		this.serialNumber = serialNumber;
		this.product = p;
	}

	/**
	 * Gets the serial number for this company
	 * @return String there contains the serial number
	 */
	public String getSerialNumber() 
	{
		return serialNumber;
	}
	
	public Product getProduct()
	{
		return product;
	}

}
